package api

import (
	"github.com/fantomo/go-iching/app/api"
	"github.com/gin-gonic/gin"
)

func RegisterIchingRouter(r *gin.Engine) {
	divinationController := api.DivinationController{}
	publicRouter := r.Group("/api")
	publicRouter.Use()
	{
		publicRouter.GET("/divination/get", divinationController.Get)
		publicRouter.GET("/divination/all", divinationController.GetAll)
	}
}
